-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Java] Reformated Design Strategies to Use Codeblocks #2308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Better implementation of #2301 |
Failures are unrelated to this pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
} | ||
|
||
// class IssueList extends LoadableComponent<IssueList> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove commented code (or) is this intensional ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional so that there aren't failures, but the code is referenced in the docs. They were in their own codeblocks in docs and I pulled them out so we could better switch b/w languages for examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can look into tweaking the docs a bit so these commented sections aren't necessary sometime soon
} | ||
} | ||
|
||
// public class FooTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above !
User description
Updated Design Strategies to use codeblock design for java examples and future
Types of changes
Checklist
PR Type
Enhancement, Documentation
Description
Refactored Java code examples in design strategies documentation to use code blocks
gh-codeblock
references for maintainabilityAdded comprehensive Java example file
BestPractices.java
for code block inclusionImproved code snippet maintainability and translation readiness in documentation
Changes walkthrough 📝
BestPractices.java
Add comprehensive Java design strategies example file
examples/java/src/test/java/dev/selenium/design_strategies/BestPractices.java
examples
EditIssue
,IssueList
,EditIssueBetter
,ProjectPage
,SecuredPage
,ActionBot
, and test classdesign_strategies.en.md
Refactor Java code examples to use code blocks in English doc
website_and_docs/content/documentation/test_practices/design_strategies.en.md
gh-codeblock
references to newJava file
documentation
design_strategies.ja.md
Refactor Java code examples to use code blocks in Japanese doc
website_and_docs/content/documentation/test_practices/design_strategies.ja.md
gh-codeblock
references to newJava file
design_strategies.pt-br.md
Refactor Java code examples to use code blocks in Portuguese doc
website_and_docs/content/documentation/test_practices/design_strategies.pt-br.md
gh-codeblock
references to newJava file
design_strategies.zh-cn.md
Refactor Java code examples to use code blocks in Chinese doc
website_and_docs/content/documentation/test_practices/design_strategies.zh-cn.md
gh-codeblock
references to newJava file